﻿@{
    ViewBag.Title = "Thêm mới các giá trị tham chiếu";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<form class="form" action="/Milestone/Add" method="post" enctype="multipart/form-data">
    <fieldset>
    
        <div class="content">
	        <h2 class="app">        
		        <span class="viewtitle"><strong>Thêm mới giá trị tham chiếu</strong></span>
	        </h2>                
            <div class="title nomargin">
                <h3>Xem danh mục</h3>
            </div>
            <div class="panel rounded">
                <ul class="accordeon-tabs accordeon-2">
                    <li class="open">
                        <span class="panel">       
                            <div class="row">
                                <label>Tiêu đề</label>
                                <input type="text" class="text" name="Title" data-bind="value: Title" maxlength="200" />
                            </div>       
                            <div class="row">
                                <label>Cho phép tùy biến</label>
                                <div class="groupinput">
                                    <input type="checkbox" class="checkbox" name="IsCustom" data-bind="checked: IsCustom" />
                                </div>
                            </div>       
                            <div class="row">
                                <label>Có hiệu lực</label>
                                <div class="groupinput">
                                    <input type="checkbox" class="checkbox" name="IsEnabled" data-bind="checked: IsEnabled" />
                                </div>
                            </div>       
                              
                           </span>
                    </li>
                </ul>   
                                  
                <!-- Bottom function -->
                <h3 class="centered-wbtn centered-wbtn-top save">
  			        <span class="left"><a href="/Milestone" class="btn btn-cancel-small">cancel</a></span>
                    <span class="right"><a href="javascript:void(0)" class="btn btn-submit-small" data-bind="click: Submit">submit</a></span>
		        </h3>     
            </div>
        </div>
    </fieldset>
</form>

<script type="text/javascript">
    var data = @(Html.Raw(Json.Encode(Model)));
</script>
<script src="/Scripts/Milestone/MilestoneAdd.js" type="text/javascript"></script>